﻿@model vITs.Site.Models.DataModels.Account
@{
    this.ViewBag.Title = "Redigera Konto";
}
@using (this.Html.BeginForm())
{
    <fieldset>
        <legend>
            <h2>@this.ViewBag.Title</h2>
        </legend>
        @this.Html.HiddenFor(m => m.AccountId)
        @this.Html.ValidationSummary(true)
        <br />
        @this.Html.LabelFor(m => m.Name)
        <br />
        @this.Html.EditorFor(m => m.Name) @this.Html.ValidationMessageFor(m => m.Name)
        <br />
        <br />
        <input type="submit" value="Spara" /> <input type="button" value="Tillbaka" onclick="javascript:window.location='@this.Url.Action("Index")';" />
    </fieldset>
}
